package com.chaoyer.cynet.common.exception;

import io.netty.handler.codec.http.HttpMethod;

/*
* http method not supported
* */
public class HttpRequestMethodNotSupportedException extends RuntimeException {

    /**
     * Create a new HttpRequestMethodNotSupportedException.
     *
     * @param method the unsupported HTTP request method
     */
    public HttpRequestMethodNotSupportedException(HttpMethod method) {
        super("Request method '" + method.name() + "' not supported");
    }


}